package com.gdth.bank.widget;

import com.gdth.bank.R;
import com.gdth.widget.textview.ImageTextView;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
import android.widget.TextView;

public class BankTextViews extends ImageTextView{
	
	public BankTextViews(Context context) {
		super(context, R.layout.widget_textview_1);
	}
	
	public BankTextViews(Context context, AttributeSet attrs) {
		super(context, attrs, R.layout.widget_textview_1);
	}
	
	@Override
	public void initView(){
        txt_label = (TextView) findViewById(R.id.edittext_label);
        txt_value = (TextView) findViewById(R.id.edittext_edit);
        mImageView = (ImageView) findViewById(R.id.edittext_image);
	}
	
	public void setOnClickListener(OnClickListener mOnClickListener){
		mImageView.setOnClickListener(mOnClickListener);
	}
}
